package com.jacen.fzxs.manager;

import javax.annotation.Resource;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.springframework.stereotype.Component;

import com.jacen.fzxs.service.IRightService;

@Component
public class RightManageListerner implements ServletContextListener {
	@Resource
	private IRightService rightService;

	@Override
	public void contextInitialized(ServletContextEvent sce) {
	//	init();
		// TODO Auto-generated method stub
		//System.out.println("====="+rightService.getAllCount()+"======");
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		// TODO Auto-generated method stub

	}

}
